import request from '../utils/request'

// 获取用户协议
export const getProtocolList = () => {
    return request({
        url: '/protocol/get',
        method: 'GET'
    })
}

// 修改
export const updateProtocol = (data) => {
    return request({
        url: '/protocol/update',
        method: 'POST',
        data
    })
}
